package com.atguigu.reggie.controller;/**
 * @author hu
 * @create 2024-11-21 15:59
 */

import com.atguigu.reggie.common.R;
import com.atguigu.reggie.entity.Employee;
import com.atguigu.reggie.service.EmployeeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author : 
 * @date : 2024/11/21 15:59
 * @modyified By :
 */

@Slf4j
@RestController
@RequestMapping("/employee")
public class EmployeeController {

    @Autowired
    private EmployeeService employeeService;

    @PostMapping("/login")
    public R<Employee> login(HttpServletRequest servletRequest, @RequestBody Employee employee){
        return null;
    }

}
